function refreshDismantle(assetChange){
	if (assetChange == 'DISMANTLE_NE'){
		 Ext.getStore('AssetChange.AssetChangeStoreNE').getProxy().url = './Services/AssetChange/Change/Detail/List?CHANGE_CATEGORY=DISMANTLE_NE';  // RELOCATION_NE';
	     Ext.getStore('AssetChange.AssetChangeStoreNE').load();
	}else if(assetChange == 'DISMANTLE_SITE'){
		 Ext.getStore('AssetChange.AssetChangeStore').getProxy().url = './Services/AssetChange/Change/Detail/List?CHANGE_CATEGORY=DISMANTLE_SITE';
	     Ext.getStore('AssetChange.AssetChangeStore').load();
	}
}

function searchDismantle(assetChange){
	if(assetChange == 'DISMANTLE_NE'){
		var keyword = Ext.getCmp("keywordDismantleNE").getValue();
		Ext.getStore('AssetChange.AssetChangeStoreNE').getProxy().url = './Services/AssetChange/Change/Detail/List?CHANGE_CATEGORY=DISMANTLE_NE&keyword='+keyword;
	    Ext.getStore('AssetChange.AssetChangeStoreNE').load();
	}else if(assetChange == 'DISMANTLE_SITE'){
		var keyword = Ext.getCmp("keyworddismantlesite").getValue();
	 	Ext.getStore('AssetChange.AssetChangeStore').getProxy().url = './Services/AssetChange/Change/Detail/List?CHANGE_CATEGORY=DISMANTLE_SITE&keyword='+keyword;
	    Ext.getStore('AssetChange.AssetChangeStore').load();
	}
	
}






//function refreshRelNe(){
//	Ext.getStore('AssetChange.AssetChangeRelNe').getProxy().url = './Services/AssetChange/Change/Detail/List?CHANGE_CATEGORY=RELOCATION_NE';
//    Ext.getStore('AssetChange.AssetChangeRelNe').load();	
//}
//
//function searchRelNe(){
//	var keyword = Ext.getCmp("keywordrelocationne").getValue();
//	Ext.getStore('AssetChange.AssetChangeRelNe').getProxy().url = 'Services/AssetChange/Change/Detail/List?CHANGE_CATEGORY=RELOCATION_NE&keyword='+keyword;
//    Ext.getStore('AssetChange.AssetChangeRelNe').load();
//}
//
//function refreshRelSite(){
//	 Ext.getStore('AssetChange.AssetChangeStore').getProxy().url = './Services/AssetChange/Change/Detail/List?CHANGE_CATEGORY=RELOCATION_SITE';
//     Ext.getStore('AssetChange.AssetChangeStore').load();	
//}
//
//function searchRelSite(){
//	 var keyword = Ext.getCmp("keywordrelocationsite").getValue();
// 	 Ext.getStore('AssetChange.AssetChangeStore').getProxy().url = 'Services/AssetChange/Change/Detail/List?CHANGE_CATEGORY=RELOCATION_SITE&keyword='+keyword;
//     Ext.getStore('AssetChange.AssetChangeStore').load();
//}